const Course = require('../models/course');

module.exports.save = async (ctx, next) => {
	const body = ctx.request.body;
	const course = new Course(body)
	await course.save()
	ctx.response.body = course
}